The majority of utilities provided by CygNet Software can be run either as a utility application or from a command-line interface, whereas some CygNet utilities can be run only from the command-line interface.
Note: For utility applications, running the utility using a command line does not provide version management. See Version Management Overview for more information, or see the specific utility application topic.
CygNet utilities that can be run only from a command window include the following. See SCADA Utilities for more information.
Use the following procedure to run any CygNet utility from a command window.
To Run a Command-Line Utility
Depending upon where you run the utility, you may have to specify the path either to the utility or to the data files.
For example, if you run the utility ReindexESE from the Utilities folder, you will have to include the path to the data files:
|
C:\CygNet\Utilities> REINDEXESE c=C:\CygNet\Services\MSS\Mss.cfg |
If you run it from the service folder, you will have to include the path to the utility.
|
C:\CygNet\Services\MSS> C:\CygNet\Utilities\ReindexESE |
Other utilities require the Site.Service or other information. In such cases, a path is not required.
|
ConnectARS MYSITE.ARS 192.164.1.1 |
Use the following standard command-line parameters to control log file creation.
|
/MAX_LOG_FILES:<maximum_number_of_log_files>
|
|
/MAX_LOG_LINES:<maximum_number_of_log_file_lines>
/MAX_LOG_SIZE:<maximum_size_of_log_file> |
The log file is written to the current working directory.
The following standard command-line logging level parameters can also be used to define log file content.
|
/LOG_ALL
/LOG_NONE
/LOG_CONTROL
/LOG_EXCEPTIONS
/LOG_WARNING
/LOG_PROG_STAT
/LOG_MIN_TRACE
/LOG_MAX_TRACE
/LOG_ENTER_EXIT
/LOG_STATISTICS
/LOG_PROFILE_MIN
/LOG_PROFILE_MAX |
Note: These options apply to most clients, services, and utilities. All options may not apply to all usages.
See Service Log Settings and Client Log Settings for more information about applicable logging options.